#define _CRT_SECURE_NO_WARNINGS 1

#include"stack.h"

int main()
{
	SL ps;
	stackInit(&ps);

	stackpush(&ps, 1);
	stackpush(&ps, 2);
	stackpush(&ps, 3);
	stackpush(&ps, 4);
	SLEmpty(&ps);

	printf("%d ", stackop(&ps));
	stackpop(&ps);

	printf("%d ", stackop(&ps));
	stackpop(&ps);

	printf("%d ", stackop(&ps));
	stackpop(&ps);

	printf("%d ", stackop(&ps));
	stackpop(&ps);
	
	
}